package com.power.wx.bean;

public class TextDecision extends Decision {

	public TextDecision() {
	}

	public TextDecision(String toUserName, String fromUserName, int createTime, String content) {
		super(toUserName, fromUserName, createTime, Decision.MsgTypeText);
		this.content = content;
	}

	private String content;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	protected String subXML() {
		return "<Content><![CDATA[" + content + "]]></Content>";
	}

}
